﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using TA.Turbo;

public partial class Default : TPage
{
	static Random _rnd = new Random();
	protected override void OnInit(EventArgs e)
	{
		base.OnInit(e);

		this.Includes.Add(Script.TurboCookies);
	}
	protected override void OnLoad(EventArgs e)
	{
		base.OnLoad(e);

		string value = this.UniqueCookie("Test", _rnd.Next(1000).ToString(), DateTime.Now.AddMinutes(5));

		this.txt.Value = value;
	}
}
